﻿using Logistics.Materials;
using Logistics.Repair;
using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Dtos;
using Volo.Abp.Application.Services;

namespace Logistics.Maintains
{
    public interface IMaintainsAppService : IApplicationService
    {
        //显示
        Task<PagedResultDto<MaintainsDto>> GetJobAsync(GetMaintainsListDto dto);
        //删除
        Task DeleteAsync(int id);
        //批量删除
        int DeletePdeleteAsync(string ids);
        //添加
        Task<MaintainsDto> CreateAddAsync(CreateMaintainsDto input);
        /// <summary>
        /// 反填
        /// </summary>
        Task<MaintainsDto> GetAsync(int id);
        //修改
        Task UpdateAsync(int id, CreateMaintainsDto input);
    }
}
